package com.design.factory.AbstractFactory;

//创建纽约的原料工厂
public class PizzaIngredientFactoryNY implements PizzaIngredientFactory {
 
	public XDough createDough() {
		return new XDoughOfThinCrust();
	}
 
	public XSauce createSauce() {
		return new XSauceOfMarinara();
	}
 
	public XCheese createCheese() {
		return new XCheeseOfReggiano();
	}
 
	public XVeggies[] createVeggies() {
		XVeggies veggies[] = { 	new XVeggiesOfGarlic(),
								new XVeggiesOfOnion(),
								new XVeggiesOfMushroom(),
								new XVeggiesOfRedPepper() };
		return veggies;
	}
 
	public XPepperoni createPepperoni() {
		return new XPepperoniOfSliced();
	}

	public XClams createClam() {
		return new XClamsFresh();
	}
}
